package com.gator.desig_mode.visitor;



/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc
 */
public class Client {

  public static void main(String[] args) {

    ObjectElement objectElement = new ObjectElement();
    objectElement.add(new Woman());
    objectElement.add(new Woman());
    objectElement.add(new Man());
    objectElement.add(new Man());

    //----------
    SuccessFul successFul = new SuccessFul();
    objectElement.display(successFul);
  }

}
